package cn.wolfcode.shop.seckill.redis;

import cn.wolfcode.cloud.redis.BaseKeyPrefix;
import lombok.Getter;
import lombok.Setter;

@Setter@Getter
public class SeckillKeyPrefix extends BaseKeyPrefix {

    public SeckillKeyPrefix(String prefix, int expireTime){
        super(prefix,expireTime);
    }

    public static  SeckillKeyPrefix SECKILLGOODHASH=new SeckillKeyPrefix("seckillgoodhash",-1);
    public static  SeckillKeyPrefix SECKILLGOODORDER=new SeckillKeyPrefix("seckillgoodorder",-1);
    public static  SeckillKeyPrefix SECKILLGOODSTOCK=new SeckillKeyPrefix("seckillgoodstock",-1);
    public static  SeckillKeyPrefix SECKILLVERIFYCODERESULT=new SeckillKeyPrefix("seckillverifycoderesult",60*3);
    public static  SeckillKeyPrefix SECKILLPATH=new SeckillKeyPrefix("seckillpath:",3);

}
